<template>
  <!-- 概览 -->
  <div class="home-overview">
    <div class="item">
      <a href="javascript:;">
        <span class="iconfont icon-hy"></span>
        <p>会员中心</p>
      </a>
      <a href="javascript:;" @click="$router.push('/member/account')">
        <span class="iconfont icon-aq"></span>
        <p>安全设置</p>
      </a>
      <a href="javascript:;" @click="$router.push('/member/address')">
        <span class="iconfont icon-dw"></span>
        <p>地址管理</p>
      </a>
    </div>
    <div class="right-item">
      <a href="javascript:;" @click="$router.push('/member/coupons')">
        <span>0</span>
        <p>优惠券</p>
      </a>
      <a href="javascript:;" @click="$router.push('/member/giftcard')">
        <span>0</span>
        <p>礼品卡</p>
      </a>
      <a href="javascript:;">
        <span>0</span>
        <p>积分</p>
      </a>
    </div>
  </div>
</template>

<script>
export default {
  name: 'MemberHomeOverview'
}
</script>

<style lang="less" scoped>
.home-overview {
  height: 132px;
  // background: url(../../../../assets/images/center-bg.png) no-repeat center / cover;
  background: #fff;
  display: flex;
  .user-meta {
    flex: 1;
    display: flex;
    align-items: center;
    .avatar {
      width: 85px;
      height: 85px;
      border-radius: 50%;
      overflow: hidden;
      margin-left: 60px;
      img {
        width: 100%;
        height: 100%;
      }
    }
    h4 {
      padding-left: 26px;
      font-size: 18px;
      font-weight: normal;
      color: white;
    }
  }
  .item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-around;
    &:first-child {
      border-right: 1px solid #f1f1f1;
      height: 100px;
      margin-top: 16px;
    }
    a {
      // color: white;
      font-size: 16px;
      text-align: center;
      .iconfont {
        font-size: 32px;
        color: @xtxColor;
      }
      p {
        line-height: 32px;
      }
    }
  }
  .right-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-around;
    a {
      font-size: 16px;
      text-align: center;
      span {
        font-size: larger;
        line-height: 42px;
        color: #e26237;
      }
      p {
        line-height: 32px;
      }
    }
  }
}
</style>
